package com.sk.bilibili.other;

import com.sk.bilibili.bean.Danmu;

import java.util.List;
import java.util.function.Consumer;

import master.flame.danmaku.danmaku.parser.IDataSource;

public class BiliBiliDanmuSource implements IDataSource<List<Danmu>> {

    private List<Danmu> danmus;

    public BiliBiliDanmuSource(List<Danmu> danmus) {
        this.danmus = danmus;
    }

    @Override
    public List<Danmu> data() {
        return danmus;
    }

    @Override
    public void release() {}

}